package artid.com.arttogo.bean;

import org.json.JSONObject;

import java.io.Serializable;

/**
 * 
*    
* 项目名称：ArtworkArt   
* 类名称：SystemMessageParser   
* 类描述：系统消息实体类+解析   
* 创建人：耿卫斌   
* 创建时间：2016-6-14 上午9:46:20   
*
 */
public class IbeaconListParser extends AppItem implements Serializable {
	private static final long serialVersionUID = 1L;
	private String messactivityid;
	private String messactivityimage;
	private String messactivitycontent;
	private String messactivitytitle;
	private String messactivityurl;//详情的WebView地址
	String id;
	
	
	@Override
	public void parse(JSONObject obj) {
		// TODO Auto-generated method stub
		if (null == obj) {
			return;
		}
		messactivityid = obj.optString("messactivityid");
		messactivityimage = obj.optString("messactivityimage");
		messactivitycontent = obj.optString("messactivitycontent");
		messactivitytitle = obj.optString("messactivitytitle");
		messactivityurl = obj.optString("messactivityurl");
		id = obj.optString("id");
	}


	public String getMessactivityid() {
		return messactivityid;
	}


	public void setMessactivityid(String messactivityid) {
		this.messactivityid = messactivityid;
	}


	public String getMessactivityimage() {
		return messactivityimage;
	}


	public void setMessactivityimage(String messactivityimage) {
		this.messactivityimage = messactivityimage;
	}


	public String getMessactivitycontent() {
		return messactivitycontent;
	}


	public void setMessactivitycontent(String messactivitycontent) {
		this.messactivitycontent = messactivitycontent;
	}


	public String getMessactivitytitle() {
		return messactivitytitle;
	}


	public void setMessactivitytitle(String messactivitytitle) {
		this.messactivitytitle = messactivitytitle;
	}


	public String getMessactivityurl() {
		return messactivityurl;
	}


	public void setMessactivityurl(String messactivityurl) {
		this.messactivityurl = messactivityurl;
	}


	public String getId() {
		return id;
	}


	public void setId(String id) {
		this.id = id;
	}
	
	
}
